//
//  UILabel+Extension.m
//  ICome
//
//  Created by zhangrongwu on 16/3/15.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "UILabel+Extension.h"
#import "ICHeaderFile.h"
@implementation UILabel (Extension)
- (instancetype)initWithText:(NSString *)text font:(NSInteger)font textColor:(UIColor *)color {
    if(self = [super init]){
        self.text = text;
        self.textColor = color;
        self.numberOfLines = 0;
        [self sizeToFit];
        self.font = ICFont(font);
    }
    return self;
}
@end
